---
title: bud.runtime
description: Get the application public path
tags:
  - configuration
  - optimization
  - runtime
---

Generate an optimized runtime intended to be inlined on the page.

## Usage

Enable a runtime shared amongst all entrypoints

```ts title=bud.config.ts
bud.runtime()
```

```ts title=bud.config.ts
bud.runtime(`single`)
```

Generate multiple runtimes (for multiple entrypoints)

```ts title=bud.config.ts
bud.runtime(`multiple`)
```

Generate a runtime using the default compiler options

```ts title=bud.config.ts
bud.runtime(true)
```

Disable runtime generation

```ts title=bud.config.ts
bud.runtime(false)
```
